package cn.edu.zut.internship.iservice.sys;



import cn.edu.zut.internship.bean.sys.Result;
import cn.edu.zut.internship.entity.AuthSysRole;

import java.util.List;
import java.util.Map;

public interface IRoleService {
    List<AuthSysRole> search(String roleName);

    AuthSysRole findById(Long rlId);

    Result add(Map role);

    void deleteRole(Map params);

    void update(Map role);

    boolean roleHasMenu(Long rlId, Long mnId);

    List<Long> searchMenuRoleIds(String mnName);

    void updateRolePermissions(AuthSysRole role);

    Result selectRoleList(Map params);
}
